package com.cenxi.common.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author cenxi
 * @Date 2023/11/13 14:09
 * @Version 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("角色入参DTO")
public class RoleDTO {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称")
    private String roleName;

    /**
     * 角色状态1:启用, 0未启用
     */
    @ApiModelProperty(value = "角色状态1:启用, 0未启用")
    private Integer state;

    /**
     * 角色备注
     */
    @ApiModelProperty(value = "角色备注")
    private String remark;

    @ApiModelProperty(value = "菜单路由Long")
    private List<Long> menuIds;

}
